import java.util.Random;
import java.util.Scanner;

public class Hh {
	public static void main(String[] args) {
		for (int i = 0; i < name().length; i++) {
			if (i==3) {
				System.out.print(name()[i]+" ");
			}else {
				System.out.print(name()[i]);
			}
		}
	}
	public static int[] name() {
		Scanner bb=new Scanner(System.in);
		Random hei =new Random();
		int [] arr=new int[7];
		for (int i = 0; i < arr.length; i++) {
			arr[i]=hei.nextInt(10);
		}
		return arr ;
		
	}
}
